@can('destroy',$blog)
<form action="{{route('blogs.destroy',$blog)}}" method="post">
    {{csrf_field()}}
    {{method_field('DELETE')}}
    <button type="submit">删除</button>
</form>
@endcan
<table>
    <tr>{{$blog->user->name}}</tr>
    <td>{{$blog->created_at}}</td>
    <td>{{$blog->content}}</td>
</table>

